package com.xbongbong.paas.field;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ReceivablePeriodPojo implements Serializable {
    private static final long serialVersionUID = -5799909626525006713L;

    /**
     * 要关联更新的账期字段
     */
    private String linkPeriod;
    /**
     * 类型
     * @see com.xbongbong.pro.enums.fund.enums.PeriodTypeEnum
     */
    private Integer type;
    /**
     * 月份
     */
    private Integer month;
    /**
     * 月份
     */
    private Integer day;

    public ReceivablePeriodPojo(){
    }

    public ReceivablePeriodPojo(String linkPeriod, Integer type, Integer month, Integer day){
        this.linkPeriod = linkPeriod;
        this.type = type;
        this.month = month;
        this.day = day;
    }
}
